package com.travel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.io.Serializable;

/**
 * (TbHotel)实体类
 *
 * @author makejava
 * @since 2023-11-07 12:01:59
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TbHotel implements Serializable {
    private static final long serialVersionUID = 900711817374620211L;
    @TableId(type = IdType.AUTO)
    private Integer hotelId;
    
    private Integer cityId;
    
    private String hotelName;
    
    private String hotelAddr;
    
    private BigDecimal hotelPrice;
    
    private String hotelPic;
    
    private String hotelPic1;

    @TableField(exist = false)
    private String cityName;


}

